/**
 * Created by Administrator on 2016/8/8.
 */
swan_pc
    .factory("CommentManage",function($resource){
        return $resource("api/comments",{
            "query":{
                method:"GET"
            },
            "save":{
                method:"POST"
            }
        })
    })
    .factory("CommentManageById",function($resource){
        return $resource("api/comments/:id",{id:"@id"},{
            "get":{
                method:"GET"
            },
            "update":{
                method:"PUT"
            },
            "delete":{
                method:"DELETE"
            }
        })
    })
